package com.kita.house.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kita.common.utils.PageUtils;
import com.kita.common.utils.Query;

import com.kita.house.dao.PropertyGroupDao;
import com.kita.house.entity.PropertyGroupEntity;
import com.kita.house.service.PropertyGroupService;


@Service("propertyGroupService")
public class PropertyGroupServiceImpl extends ServiceImpl<PropertyGroupDao, PropertyGroupEntity> implements PropertyGroupService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PropertyGroupEntity> page = this.page(
                new Query<PropertyGroupEntity>().getPage(params),
                new QueryWrapper<PropertyGroupEntity>()
        );

        return new PageUtils(page);
    }

}